package com.face.console.pojo.dto;

import java.util.List;

public class MenuDto extends BaseDto {
    private Long id;

    private Long pid;

    private String menuName;

    private String mDescribe;

    private String mCode;

    private String url;
    private int  mType;

//
    private List<MenuDto> menuChildNode;

    public int getmType() {
        return mType;
    }

    public void setmType(int mType) {
        this.mType = mType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getmDescribe() {
        return mDescribe;
    }

    public void setmDescribe(String mDescribe) {
        this.mDescribe = mDescribe == null ? null : mDescribe.trim();
    }

    public String getmCode() {
        return mCode;
    }

    public void setmCode(String mCode) {
        this.mCode = mCode == null ? null : mCode.trim();
    }

    public List<MenuDto> getMenuChildNode() {
        return menuChildNode;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setMenuChildNode(List<MenuDto> menuChildNode) {
        this.menuChildNode = menuChildNode;
    }

    @Override
    public String toString() {
        return "MenuDto{" +
                "id=" + id +
                ", pid=" + pid +
                ", menuName='" + menuName + '\'' +
                ", mDescribe='" + mDescribe + '\'' +
                ", mCode='" + mCode + '\'' +
                ", url='" + url + '\'' +
                ", mType=" + mType +
                ", menuChildNode=" + menuChildNode +
                '}';
    }
}